const mongoose = require('mongoose')
const Schema = mongoose.Schema
const schema = new Schema({
  image: { type: String },
  title: { type: String },
  number: { type: Number },
  topic: { type: Number },
  category: { type: mongoose.Schema.Types.ObjectId, ref: 'Category' }
})
module.exports = mongoose.model('Group', schema)
